var express = require('express');
var router = express.Router();
var adminInfohander = require('../../routerhander/admin/info')
//获取用户信息路由
router.get('/admininfo',adminInfohander.getAdminInfo);
//更新用户信息路由
// var expressJoi = require('@escook/express-joi')
// var {updata_userinfo_schema} = require('../../schema/user')
// router.post('/userinfo',expressJoi(updata_userinfo_schema), userInfohander.updateUserInfo);
// //重置密码
// var {updata_psassword_schema} = require('../../schema/user')
// router.post('/updatepwd', expressJoi(updata_psassword_schema), userInfohander.updatePassword);
// //更新头像
// var {updata_avatar_schama} = require('../../schema/user')
// router.post('/updateavatar', expressJoi(updata_avatar_schama), userInfohander.updateAvatar);

module.exports = router 